Emacs should no longer hang at startup on kFreeBSD.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 05:39:51 +0000 (22:39 -0700)
committerRob Browning <rlb@defaultvalue.org>
Thu, 26 Sep 2013 18:41:37 +0000 (13:41 -0500)
commite6b8536b5a4ffe74bde2d3281f39295a70457287
tree3c3ec221f9e97ffcb6c3ede3078f3187b6b348f1
parentddf9e08026a67cd040984ff42dd1597d205b214d
Emacs should no longer hang at startup on kFreeBSD.

Applied upstream patch (in conjunction with 5113964):

  * process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.

  We can't portably rely on PTY_OPEN doing that, even if
  it calls posix_openpt with O_CLOEXEC.

Origin: upstream, commit: 511396357c5937ff85bce49f9dc8f4c66851620416bdc07
Added-by: Rob Browning <rlb@defaultvalue.org>
Provided-By: Paul Eggert <eggert@cs.ucla.edu>
Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15129
src/ChangeLog
src/process.c